<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="description" content=""/>
    <meta name="author" content=""/>
    <title>后台管理系统</title>
</head>
<!-- DataTables CSS -->
<link href="/assets/vendor/datatables-plugins/dataTables.bootstrap.css" th:href="@{/assets/vendor/datatables-plugins/dataTables.bootstrap.css}" rel="stylesheet"/>
<!-- DataTables Responsive CSS -->
<link href="/assets/vendor/datatables-responsive/dataTables.responsive.css" th:href="@{/assets/vendor/datatables-responsive/dataTables.responsive.css}" rel="stylesheet"/>
<link rel="stylesheet" href="/js/home/jquery-ui.css" th:href="@{/js/home/jquery-ui.css}"/>
<body>
<div id="wrapper">
    <!-- Navigation -->
    <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
        <!-- head 头部 -->
        <div id="head" th:include="common/header :: copy"></div>
        <!--tree菜单 -->
        <div id="tree" th:replace="common/tree :: copy"></div>
    </nav>

    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">首页信息配置</h1>
            </div>
            <!-- /.col-lg-12 -->
        </div>
        <!-- /.row -->
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        首页信息配置
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">
                            <form id="uploadForm" name="uploadForm" method="POST" enctype="multipart/form-data"  class="form-horizontal" action="../desktop/upload" role="form">
                                <!--<div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                                    <h4 class="modal-title" id="myModalLabel">添加</h4>
                                </div>-->
                                <div class="modal-body">
                                    <div class="panel-body">
                                        <div class="row">
                                            <div class="col-lg-12">
                                                <div class="form-group">
                                                    <label>邮箱地址</label>
                                                    <input class="form-control" placeholder="邮箱" name="email" th:value="${desktop.email}"/>
                                                </div>
                                                <div class="form-group">
                                                    <label>联系方式</label>
                                                    <input class="form-control" placeholder="电话" name="iphone" th:value="${desktop.iphone}"/>
                                                </div>
                                                <!--<div class="form-group">
                                                    <label>背景图</label>
                                                    <input type="file" name="file" id="file" accept=".jpg,.jpeg,.png,.bmp" th:value="${desktop.pic}" multiple="multiple" onchange="preImg(this.id,'photo');"/>
                                                    <br />
                                                    <br />
                                                    <img id="photo" src="" width="200px" height="80px" style="display: none;" />
                                                </div>-->
                                                <!--<div class="form-group">
                                                    <label>content</label>
                                                    <textarea class="form-control" rows="3" name="content"></textarea>
                                                </div>
                                                <div class="form-group">
                                                    <label>Inline Radio Buttons</label>
                                                    <label class="radio-inline">
                                                        <input type="radio" name="optionsRadiosInline" id="optionsRadiosInline1" value="option1" checked="checked"/>1
                                                    </label>
                                                    <label class="radio-inline">
                                                        <input type="radio" name="optionsRadiosInline" id="optionsRadiosInline2" value="option2"/>2
                                                    </label>
                                                    <label class="radio-inline">
                                                        <input type="radio" name="optionsRadiosInline" id="optionsRadiosInline3" value="option3"/>3
                                                    </label>
                                                </div>
                                                <div class="form-group">
                                                    <label>星级</label>
                                                    <select class="form-control" name="star">
                                                        <option value="1">1</option>
                                                        <option value="2">2</option>
                                                        <option value="3">3</option>
                                                        <option value="4">4</option>
                                                        <option value="5">5</option>
                                                    </select>
                                                </div>
                                                <button type="submit" class="btn btn-default">Submit Button</button>
                                                <button type="reset" class="btn btn-default">Reset Button</button>-->

                                            </div>
                                            <!-- /.col-lg-6 (nested) -->
                                            <!-- /.col-lg-6 (nested) -->
                                        </div>
                                        <!-- /.row (nested) -->
                                    </div>
                                    <!-- /.panel-body -->
                                </div>
                                <div class="modal-footer">
                                    <!--<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>-->
                                    <button type="submit" class="btn btn-primary">保存</button>
                                </div>
                            </form>
                    </div>
                    <!-- /.panel-body -->
                </div>
                <!-- /.panel -->
            </div>
            <!-- /.col-lg-12 -->
        </div>

    </div>
    <!-- /#page-wrapper -->

</div>
<!-- /#wrapper -->
<div id="footer" th:replace="common/footer :: copy"></div>


<!-- DataTables JavaScript -->
<script src="/assets/vendor/datatables/js/jquery.dataTables.min.js" th:src="@{/assets/vendor/datatables/js/jquery.dataTables.min.js}"></script>
<script type="text/javascript" src="/js/home/jquery-ui.js" th:src="@{/js/home/jquery-ui.js}"></script>
<script src="/assets/vendor/datatables-plugins/dataTables.bootstrap.min.js" th:src="@{/assets/vendor/datatables-plugins/dataTables.bootstrap.min.js}"></script>
<script src="/assets/vendor/datatables-responsive/dataTables.responsive.js" th:src="@{/assets/vendor/datatables-responsive/dataTables.responsive.js}"></script>
<script type="text/javascript" src="../componets/admin/config.js" ></script>
</body>

</html>
